package xin.marcher.module.inventory.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import xin.marcher.module.common.domain.BaseDO;

/**
 * 库存分配记录
 */
@Data
@TableName("inventory_deduction_detail")
public class InventoryDeductionDetailDO extends BaseDO {

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 退款编号
     */
    private String refundNo;

    /**
     * 库存操作类型(10库存扣减，20库存退货)
     */
    private Integer deductionType;

    /**
     * 扣减库存数量
     */
    private Integer inventoryNum;

    /**
     * 商品skuId
     */
    private String skuId;

    /**
     * 卖家ID
     */
    private String sellerId;

    /**
     * 扣减分桶编号
     */
    private String bucketNo;
}
